<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>登陆页面</title>
	 
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
   	<div>
   	<s:form action="login">
   		用户名：<s:textfield name="user.name"></s:textfield>
   
   		密码：<s:textfield name="user.paw"></s:textfield>
   		
   		<s:submit value="登录"></s:submit>
   	</s:form>
   	</div>
  </body>
</html>
